package com.city.service.economic.impl;

import com.city.domain.economic.EnterpriseAffiliation;
import com.city.repository.economic.EnterpriseAffiliationRepository;
import com.city.service.economic.EnterpriseAffiliationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @deprecation: 隶属关系
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-18 13:14
 */
@Service
public class EnterpriseAffiliationServiceImpl implements EnterpriseAffiliationService {

    @Autowired
    private EnterpriseAffiliationRepository affiliationRepository;

    @Override
    public List<EnterpriseAffiliation> getAll() {
        return affiliationRepository.getAll();
    }
}
